package com.xingkeduo.pojo.enums;

import com.xingkeduo.util.pojo.base.BaseEnum;

/**
 * @author pantong 
 * 头发风格标签
 **/
public enum HairStyleEnums implements BaseEnum {
	Drying_SHortWater("1", "干燥缺水"),
	Thin("2", "稀薄缺型"),
	WhiteHair("3", "有过多白发"),
	Perm ("4", "有烫发"),
	Tints("5", "有染发"),
	HairLoss ("6", "有掉发情况"),
	OilOff ("7", "有出油情况"),
    Other("8", "其它");

    private String id;

    private String name;

    private HairStyleEnums(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public static String getNameById(String id) {
    	for (HairStyleEnums s : HairStyleEnums.values())
            if(s.id.equals(id)){
                return s.name;
        }
    	return "";
    }
    
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public int getValue() {
		// TODO Auto-generated method stub
		return 0;
	}

    
}
